<!DOCTYPE html>

<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles-extras" prefix="tilesx" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<html>
<head>
  <title><spring:message code="product.title"/></title>
  <meta http-equiv="X-UA-Compatible" content="IE=8" >
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

  <!-- JQuery -->
  <script type="text/javascript" src="pages/jquery/jquery-1.11.0.min.js"></script>
  <script type="text/javascript" src="pages/jquery/jquery-ui.min.js"></script>
  <link type="text/css" href="pages/jquery/jquery.ui.all.css" rel="stylesheet" />

  <!-- Application Javascripts -->
  <script type="text/javascript" src="pages/javascript/button.js"></script>
  <script type="text/javascript" src="pages/javascript/clock.js"></script>
  <script type="text/javascript" src="pages/javascript/navigation.js"></script>
  <script type="text/javascript" src="pages/javascript/detail.js"></script>
  <script type="text/javascript" src="pages/javascript/rollOver.js"></script>
  <script type="text/javascript" src="pages/javascript/general.js"></script>

  <!-- Extra Javascripts -->
  <script type="text/javascript" src="pages/javascript/admin.js"></script>

  <!-- Application Style Sheets -->
  <link href="pages/style/mam.css" rel="stylesheet" type="text/css" />
  <link href="pages/style/titleBar.css" rel="stylesheet" type="text/css" />
  <link href="pages/style/tabBar.css" rel="stylesheet" type="text/css" />
  <link href="pages/style/general.css" rel="stylesheet" type="text/css" />

  <script type="text/javascript">
    var hovering = false;
    $(document).ready(function(){
      bindTabBarFunctions();
      jQuery.widget('ui.dialog', jQuery.extend({}, jQuery.ui.dialog.prototype, {_title: function(titleBar) {titleBar.html(this.options.title || '&#160;');}}));
    });
  </script>

</head>


<tiles:insertAttribute name="title"/>
<tiles:insertAttribute name="tabBar"/>

<body onload="sizeColumns();sizeWindow();calculateCurrentDate();" style="background-color: #EFEFEF;">

<div id="overall" style="width:100%;position:absolute;top:70px;" align="center"/>
  <div id="Window" class="window" style="width: 50%; margin-left: auto; margin-right: auto;">
    <div class="windowHeader">
      <c:set var="portalName" value="${title}" scope="session"/>
      <jsp:include page="/pages/jsp/tiles/general/portalHeader.jsp"/>
    </div>

    <div class="windowContent" style="background-color:white;padding-top:2px">
      <tiles:insertAttribute name="windowContent" />
    </div>

    <div class="windowFooter">
      <jsp:include page="/pages/jsp/tiles/general/portalFooter.jsp"/>
    </div>
  </div>
</div>

</body>
</html>
